<?php
  App::import('Vendor', "charts");
  $w = (isset($w)) ? $w : 360;
  $h = (isset($h)) ? $h : 250;
  $bg = (isset($bgcolor)) ? $bgcolor : 'CDD1BD';
  echo InsertChart ($html->url('/images/charts.swf'), $html->url("/images/charts_library"), $html->url($data_url . '/' . uniqid(rand(), true)), $w, $h, $bg);
?>
